#pragma once
#include "TShape.h"
#include "TTimer.h"
#define MAX_SKYBOX_TEXTURE	6

class TSkyBox : public TBoxShape
{
public:
	D3DXMATRIX	m_matWorld;
	TTexture	m_Tex[6];

public:
	bool	Init();
	bool	Render();
	void	SetTexture( ID3D10ShaderResourceView*	pTextureRV,
						ID3D10EffectShaderResourceVariable* pShaderResource);
	HRESULT	 TextureLoad( ID3D10Device* pDevice, TCHAR* pLoadTextureString);
	void	SetDevice(ID3D10Device* pDevice = NULL );
	HRESULT CreateVertexBuffer();


public:
	TSkyBox(void);
	~TSkyBox(void);
};
